<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改设备信息</title>
    <style type="text/css">

        label {width: 10em; margin-right: 1em; text-align: right; }

        form div{
            padding-top: 20px;
        }
    </style>
</head>
<body >
<div style="text-align: center;">
    <h1 >修改设备信息</h1>
    <form th:action="@{/equipment/updateSvae/{EquipmentId}(EquipmentId=${upequ.id})}" method="post">
        <div>
            <label>设备编码:</label>
            <input type="text" name="equipmentCode" th:field="${upequ.equipmentCode}"/>
        </div>
        <div>
            <label>设备名称:</label>
            <input type="text" name="equipmentName" th:field="${upequ.equipmentName}"/>
        </div>
        <div>
            <label>是否主设备:</label>
            <input type="text" name="isMainEquipment" th:field="${upequ.isMainEquipment}"/>
        </div>
        <div>
            <label>主设备编码:</label>
            <input type="text" name="mainEquipmentCode" th:field="${upequ.mainEquipmentCode}"/>
        </div>
        <div>
            <label>所属系统编码:</label>
            <input type="text" name="systemCode" th:field="${upequ.systemCode}"/>
        </div>
        <div>
            <label>设备分类:</label>
            <input type="text" name="equipmentClassify" th:field="${upequ.equipmentClassify}"/>
        </div>
        <div>
            <label>设备型号:</label>
            <input type="text" name="unitType" th:field="${upequ.unitType}"/>
        </div>
        <div>
            <label>生产厂家:</label>
            <input type="text" name="manufacturer" th:field="${upequ.manufacturer}"/>
        </div>

        <div>
            <label>出厂编号:</label>
            <input type="text" name="manufacturerNumber" th:field="${upequ.manufacturerNumber}"/>
        </div>
        <div>
            <label>出厂日期:</label>
            <input type="date" name="productDate" th:field="${upequ.productDate}"/>
        </div>
        <div>
            <label>调试单位:</label>
            <input type="text" name="debugUnit" th:field="${upequ.debugUnit}"/>
        </div>
        <div>
            <label>安装数量:</label>
            <input type="text" name="installationNumber" th:field="${upequ.installationNumber}"/>
        </div>
        <div>
            <label>安装位置:</label>
            <input type="text" name="installationSite" th:field="${upequ.installationSite}"/>
        </div>
        <div>
            <label>设备评级:</label>
            <input type="text" name="equipmentRating" th:field="${upequ.equipmentRating}"/>
        </div>
        <div>
            <label>设备状态:</label>
            <input type="text" name="equipmentStatus" th:field="${upequ.equipmentStatus}"/>
        </div>

        <div style="text-align: center">
            <input type="submit" value="提交" />
        </div>
    </form>

</div>

</body>
</html>